<?php declare(strict_types=1);
/**
 * Created by IntelliJ IDEA
 * Author: 张伯发
 * Date  : 2019/11/19
 * Time  : 14:36
 */

namespace App\Dto\Request\Members;

/**
 * 会员注册
 * Class MemberRegisterRequestDTO
 *
 * @author 张伯发 2019/11/19 16:28
 */
class MembersRegisterRequestDTO
{
    /**
     * @var string
     */
    private $username = '';

    /**
     * @var string
     */
    private $password = '';

    /**
     * @var string
     */
    private $verifyCode = '';

    /**
     * @var string
     */
    private $nickname = '';

    /**
     * @var string
     */
    private $headIcon = '';

    /**
     * @var MembersItemRequestDTO[]
     */
    private $items = null;

    /**
     * @return string
     */
    public function getUsername(): string
    {
        return $this->username;
    }

    /**
     * @param string $username
     */
    public function setUsername(string $username): void
    {
        $this->username = $username;
    }

    /**
     * @return string
     */
    public function getPassword(): string
    {
        return $this->password;
    }

    /**
     * @param string $password
     */
    public function setPassword(string $password): void
    {
        $this->password = $password;
    }

    /**
     * @return string
     */
    public function getVerifyCode(): string
    {
        return $this->verifyCode;
    }

    /**
     * @param string $verifyCode
     */
    public function setVerifyCode(string $verifyCode): void
    {
        $this->verifyCode = $verifyCode;
    }

    /**
     * @return string
     */
    public function getNickname(): string
    {
        return $this->nickname;
    }

    /**
     * @param string $nickname
     */
    public function setNickname(string $nickname): void
    {
        $this->nickname = $nickname;
    }

    /**
     * @return string
     */
    public function getHeadIcon(): string
    {
        return $this->headIcon;
    }

    /**
     * @param string $headIcon
     */
    public function setHeadIcon(string $headIcon): void
    {
        $this->headIcon = $headIcon;
    }

    /**
     * @return MembersItemRequestDTO[]
     */
    public function getItems(): array
    {
        return $this->items;
    }

    /**
     * @param MembersItemRequestDTO[] $items
     */
    public function setItems(array $items): void
    {
        $this->items = $items;
    }
}
